How do I calculate the token usage of every user in Discourse AI?

thanks for your reply, could you please explain more about how to run these code?

should i execute them after ./launcher enter app?
how to change start_date and end_date?
what’s the type of these code? i just know some python

Sorry for my ignorance :pensive: