fix: return commit count also
fix: use commit count for incremental versioning