結果 : count elements in 2d array python