Products on Collection Page Counting towards total word count

Hello. When I look at ahrefs for some of my sites core keywords I can see the top 3 on the first page of Google (also my top three competitors) have outrageously large word counts on one page for those key words (the lowest is 5000 and the top at #1 is 9000 words). When I got to those pages they are collection pages, with the general text on the page being about 300 words and everything else on the page is individual products inside that collection. So they have obviously been able to get the product descriptions of everything on that collection page to count towards the word count for that particular keyword.

Is there anyway I can do this with custom scro