Hi, Is it possible to count how many times an element is repeated using Puppeteer?

Hi, Is it possible to count how much an element is repeated in a page using Puppeteer?

like counting duplicates

You can get the dom, and then use count occurrences block or parse block (css selector) and then get the length of the list of parsed elements.

Thanks Ruri it worked!