| gentimes start=01/01/2019 end=01/01/2020 increment=1d
| eval week=substr(starthuman,1,3), month=substr(starthuman,5,3)
| stats count(eval(in(week,"Sat","Sun"))) as weekdays_count
,count(eval(in(week,"Mon","Tue","Wed","Thu","Fri"))) as onduty_count
,count as month_count by month
gentime has month and week.
Simply, count them.
... View more