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