add daily activity calculator

@robguthrie do you want to review to see if there are any easy wins? otherwise I'm happy to just merge and deploy