How to extract values from html

I am trying to extract this value of “7” pictured in the attached image but I do not know how to do it. I want to be able to store the value of “7” and use it in an if condition. Could anyone please show me how?image

storeText should work:

storeText | id=resultNumber | luckynumber

Good morning everyone,

I have the same “problem” trying to extract the 1 within the value “1 von 1”
Is there any possibility to be stored?

Furthermore, I would like to open various pages to extract this specific data. These are round about 16 pages with different adresses.

I hope someone can help me with some useful commands/hints.

Thank you in advance!