Refactors RedisCounter and WebIdeCommitsCounter to be reused by other components.
RedisCounter
WebIdeCommitsCounter