結果 : count number of elements in 2d array python