This is how my data looks:
So the key issue I am wondering is that how to count the sum of, for example, each 5 days (the sum of the first 5 days is 0 + 0 + 0