Well, I finally figured out the answer to this. I had to use a while loop and not count the first iteration of the first type. I did that by setting the index to 1.
typeFirst = type(tpl[0])
index = 1
count = 0
while index < len(tpl):
if type(tpl[index]) == typeFirst:
count += 1
index += 1
print(count)