//The Queue Interface offered in java does not offer a method returning its size.
//Fortunately, all the classes that implements this interface implements other interfaces that offer a method to return its size.
//This method is .size()
//Example:
int sizeOfTheQueue = queue.size();
Queue<Node> qu = new LinkedList<>(); // Declaring the queue
System.out.println(qu.size()); // Printing the size of queue