SELECT COUNT(`uid`) AS `mesajsayisi`, `uid` FROM `messages` GROUP BY `uid` ORDER BY `mesajsayisi` DESC LIMIT 5;