Number of Integers : <p>Write a function that receives a string as input and returns the number of integer numbers present in every token from the string. Example:</p>

<p>Input: potato 123 potato potata 1 23423p 12/4 test </p>

<p>Output: 2</p>

<p>This is the code that I have tried, but it doesn't work</p>

<pre><code>import re
text = input("Enter a sentence both string and intenger: ")
print("The original sting: " + text)
temp = re.findall(r'\d+', text)
res = list(map(int, temp))
print("The numbers list is: " + str(res))
</code></pre>
