Not sure how feasible this is, but it would be helpful to group/bucket (predefined<...>) by count() or other aggregators.
For example, below (doesn't work) I am attempting to count the number of occurrences with "field1" and then further attempting to group the results based on the number of occurrences of field1.
Origin of request: https://stackoverflow.com/questions/54772024/possible-to-bucket-on-count
Not sure how feasible this is, but it would be helpful to group/bucket (predefined<...>) by count() or other aggregators.
For example, below (doesn't work) I am attempting to count the number of occurrences with "field1" and then further attempting to group the results based on the number of occurrences of field1.