Find the number of occurrences of something within HTML elements.