Please accept my apologies if this question has already been asked and answered. Looking up for keyword [taginfo] results in many references.
Using https://taginfo.openstreetmap.org:
How can I distinguish how often a certain [key]=[value] combination is being used on
Look up the tag on Taginfo (e.g. by entering it into Taginfo’s search field). The breakdown by element type is then available directly on the tag’s overview page:
Taginfo does, however, not make a distinction between open and closed ways. There’s an open feature request for this.
To get numbers on closed ways, you would probably have to run your own counts (e.g. with an overpass query or by importing into and querying a local database).