adds logic for getting daily commits