Task: MongoDB Aggregate by Field Existence
Task: MongoDB Aggregate by Field Existence: a task in Terminal-Lego-15k (Harbor dataset). Write a MongoDB aggregation query that groups documents by whether a specific field exists (or is non-null), and counts the documents in each group.
Part of PrimeIntellect/Terminal-Lego-15k.