Implement countChange().
Initial version of the unit test for countChange().
Add two simple tests.