Rename a class TimeCounter.

This class doesn't only count, but also calculate time difference,
comparison and so on.