How can you a publish type count of the certain meta value?

For instance I've got a publish type known as occasions along with a publish type known as replies which has a meta key title eventID.

The way i recieve the amount of publish in publish type replies having a meta key value for instance 1.

How do you do that without needing a default wordpress loop?