Added queueSize method