Hi 👋
How do you guys go about storing "simple" analytics? For example, how much sales a product has or how many likes/dislikes a post has. You would ofc create a new db entry for a sale or like/dislike, but how do you guys go about showing that data? Do you guys keep the analytics on the model itself? (so having a likesTotal and dislikesTotal for example?) I know counting the amount every time the data has to be shown would be very inefficient, so what's a good approach?