This calculates how many periods of length Days Per Period are between the Start Date and the End Date.