Painless script - counting equal values in a field


I'm not good with pineless syntax.
Please tell me by painless script.
How to count the same values in a field ?
For example, in the field 1 = 111 three times.
How to count duplicates ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.