Even better way to get numCommits, duh!