Adding additional analytics queries

I had the need for querying some media engagement data as well as most played media data.  Here are the changes if you are interested.