Kibana user count based on start and end date

I remember a quite old thread that I think did something quite similar. Have a look at this and see if it matches what you are looking for. I have no idea if/how this would potentially still work.