getting commit count from git if version file does not exist (issue #67)