You need to count the number of round elements in each string. For example, in first line, “8809” contains six round elements (two in each “8”, one in “0”, one in “9”). Next line, “7111” does not contain round elements at all. And so on.
P.S. Sorry, took me a little longer 🙂