Ds\Deque::count

(PECL ds >= 1.0.0)

Ds\Deque::countReturns the number of values in the collection.