No of hits for a search string

Hi,I need to search for a string in a document.

Not only that, but I also need to count the number of hits.

For example, I found “blue” in a document but I need to count how many times.

I tried FTSearchScore, but its return value doesn’t seem to be what I’m looking for.

Any idea ?

TIA,

Daniel