Count changing implementation and test for it