Git number of commits per author on all branches

git shortlog -s -n --all --no-merges

Will give you statistics for all branches.

EDIT: Added --no-merges to exclude statistics from merge commits.