Added .length property to check the length of the queue