Queues support .contains, returning number of elements in the queue