Implement countChange