« Ds\Deque::copy Ds\Deque::filter » PHP Manual Deque Returns the number of values in the collection Ds\Deque::count (PECL ds >= 1.0.0) Ds\Deque::count — Returns the number of values in the collection See Countable::count()