Search text only in a HTML class

Hello
Search, click and get the number of times clicked, ( “buttonZ” instances only inside on the html class=“xxx” )