In order to view this lesson, you must purchase this course.
One final feature I'd like to show you how to perform in our application is to save the count of likes for each post in the system. This is done by using a Model.count type of query. Whenever a user likes a post object, we'll perform a simple count and update our Post to remember the number of likes that exist on a post.