import math count_array