included function for calculating the number of time samples for a given site