select category, count(1)/1000 as N from games group by category order by N desc limit 20;
 