Question: 
Write a function to count repeated items of a tuple.


Model's Code:
def count_tuplex(tup, item):
    return tup.count(item)



Sample Correct Code:
def count_tuplex(tuplex,value):  
  count = tuplex.count(value)
  return count


Asserts:
assert count_tuplex((2, 4, 5, 6, 2, 3, 4, 4, 7),4)==3
assert count_tuplex((2, 4, 5, 6, 2, 3, 4, 4, 7),2)==2
assert count_tuplex((2, 4, 7, 7, 7, 3, 4, 4, 7),7)==4


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 929 of 974: 712/929 (76.64155005382132%): success