Count files known to Git.

$ git ls-files | wc -l