結果 : java program to count total number of elements in array