Fix counting commits on the first digits of hour