Added CommitCountFromBeginning.
Merge pull request #1 from foxanthony/master

Added CommitCountFromBeginning.