fix: get correct number of commits when selecting activities in given date range