Expanded my Git aliases with Usage:
count-files.ini
[alias] count-files = "!f() { git diff-tree --no-commit-id --name-only -r \"$1\" | wc -l; }; f"
git count-files <commit-hash>commit 8175da4