Added queue-size method