Moved code to get set of authors to separate function.
Fleshed out code to calculate number of commits.