I found this answer already: Number of commits on branch in git but that assumes that the branch was created from master.
How can I count the number of commits along
One way to do it is list the log for your branch and count the lines.
git log --oneline | wc -l