here is how we calculate the number of loaded commits.