I have custom list with multi-select managed metadata column. How could I count the number of items (preferably using rest api), which has particular metadata in this column?
For example on my list there are items like below:
Item1: keyword1, keyword2
Item2: keyword1, keyword4
Item3: keyword3
And now, if I search for "keyword1", I should get value 2 (because 2 items have this metadata). If I search for "keyword4", I should get value 1.
[Multi-select managed metadata column] = particular metadata
. Then you can get the number of items by enabling the Totals to the view.