https://tutorialworld.in/java-coding/java-count-total-array-elements/
Java Program to count total number of elements in array