Added activity per day query