select post_id, count(1) c from _likes group by post_id having count(1) > 10
SELECT
`_posts`.`post_id`,
COUNT(`_Likes`.`id`) AS 'likes_quantity'
FROM
`_posts`
JOIN `_Likes` ON (`_Likes`.`post_id`=`_posts`.`post_id`)
GROUP BY `_posts`.`post_id`
HAVING COUNT(`_Likes`.`id`) > 10