Count query vs Storing a counter

For example i have a post which has likes and comments that need to be shown. What do you think of these two solutions?

  1. Add two new fields(counter) that need to be updated(inc and dec) for every like and comment.
  2. Aggregate total count of like and comment for each post and add as new fields?
    I’ve already implemented the first solution, but i’m not so sure whether it is a good solution or not.

Thank you! :slight_smile: