Added count integer overflow to binCounts() and binMeans().