Count days in timeseries range

Yes I have the same question

I think

May have a working solution for getting the number of days in the time window