minor cleanup: #count works when queue is empty