How to track user activity?

I want the number of actions that took place on each day, exactly like the query you give it to us..

Thank you very much sir, for your help… It really helps us..