Yeah I was thinking you would inc the variable in your actual remote command code. Which would mean for each remote command, you would add the inc. You can name the variable the day if you like. So then you can see how many times the commands were requested for that certain day. May be easier than "in the last 24 hours."

inc %var. [ $+ [ $asctime(ddd) ] ]