Write a function that receives a string as input and returns the number of integer numbers present in every token from the string. Example:

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

Output: 2

This is the code that I have tried, but it doesn't work

```
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))

```