How to count the number of non-int values in a list? I counted all the elements like this and I don't understand what condition to prescribe.
list = [1, 2, "s1", 3, "s2", "s3"]
def number_of_elements(list):
count = 0
for element in list:
count += 1
return count
print("Number of elements: ", number_of_elements(list))