Get the total number of files for a repo and a specific revision by shelling out to git.