public function size($collection=null) {
    list($collection) = self::_wrapArgs(func_get_args(), 1);
    
    $collection = self::_collection($collection);
    
    return self::_wrap(count((array) $collection));
  }
public function size($collection=null) {
    list($collection) = self::_wrapArgs(func_get_args(), 1);
    
    $collection = self::_collection($collection);
    
    return self::_wrap(count((array) $collection));
  }
public function size ( $ collection = null ) { list ( $ collection ) = self :: _wrapArgs ( func_get_args ( ) , 1 ) ; $ collection = self :: _collection ( $ collection ) ; return self :: _wrap ( count ( ( array ) $ collection ) ) ; }
How many items are in this collection?
How many items are in this collection?