ok, was hoping you would respond to my comment before I posted this answer but here it is. (also assuming you are using at least office 2010)
You can accomplish this by utilizing COUNTIFS and adding in the criteria to look for. Example below
in column A we write the text: Test 1
Copy that down 20 cells or so.
the cells should now count up to 20 with test in front of the number.
we now add our formula to count column A and look for the word "Test " and a number
=COUNTIFS(A:A,"Test " & "?*")
if you change the value of Test to say Tesst it will recalculate and provide you the correct number matching the criteria.