CountedQueueTemplate interface defined