Count the number of unique commits between two commit objects
Determine if a commit is the descendant of another commit