I have a table where i store a posts reaction and like status, which can be like = 1 and unlike = 0, i am trying to count the total likes and echo the posts with more than 20 likes over a period of time. I also want to count based on the reaction_id. how do i go about this. Here is the table
