Calculate the total number of weeks on the series

To be used when displaying the number of weeks and the number of weeks
without data