changed output of counting