public function count($type, $pos)
    {
        return empty($this->assets[$type][$pos]) ? 0 : count($this->assets[$type][$pos]);
    }
public function count($type, $pos)
    {
        return empty($this->assets[$type][$pos]) ? 0 : count($this->assets[$type][$pos]);
    }
public function count ( $ type , $ pos ) { return empty ( $ this -> assets [ $ type ] [ $ pos ] ) ? 0 : count ( $ this -> assets [ $ type ] [ $ pos ] ) ; }
Returns a weight of the last added asset
@param string $type Either "css" or "js"
@param string $pos Either "top" or "bottom"
@return integer
Returns a weight of the last added asset