Restrict build counts to commits