Count aggregation doubt

For my data table visualisation i want only those rows whose count is 2(the metric aggregation count value is true)How to do it?

You can set the min_doc_count parameter to 2 in your terms aggregation by adding { "min_doc_count": 2 } in the JSON Input Field under the Advanced settings in your Buckets.

Thank you for your solution