Fixed the stats function.

The stats function would previously have a glitched minutes value.
Merge pull request #1 from the-killer-rabbit/patch-1

Fixed the stats function.