315 precalculate submission num for current day

closes #315