Added stats queries for the likes database.