Thanks for providing this - it is interesting how much memory low use Databases use. Maybe we need to move some of the archive Databases off of our production system.
I did have a problem when I ran the query on my SQL 2014 system. The DB Buffer Percent column was NULL It appears that the Total Pages is not a counter_name in SQL 2014 (2012?).