CYB-247, git 1.7.1 does not support rev-list --count so we use wc -l
Merge pull request #145 from johncrossman/CYB-247

CYB-247, git 1.7.1 does not support rev-list --count so we use wc -l