Reduce the count of array