added overflow tests for count.