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