Introduction
The $size operator helps you find out how many items are in an array inside your data. It tells you the length of the array.
You want to count how many hobbies a person has in their profile.
You need to find products that have exactly 3 tags.
You want to filter orders that contain more than 5 items.
You want to check if a student's list of completed courses is empty or not.