This members-only tutorial provides the steps to register a custom function that takes in the taxonomy name and term slug as inputs and returns the number of matching posts.
This can be used for example, with Oxygen's Dynamic Data condition to conditionally output elements only when there is at least 1 published post with the matching taxonomy and term.
Use Case: Let's say there's a taxonomy called industry for which one of the terms is manufacturing we can use the function to get the number of manufacturing industry posts and use this in a condition applied to a Section having a heading and Easy Posts/Repeater.