Write a Python function `count_occurrences(tup, lst)` that takes a tuple `tup` and a list `lst` as input and returns the total count of elements in `tup` that are present in `lst`.
#### Example Usage
```python [main.nopy]
# Example 1
tup = ('a', 'a', 'c', 'b', 'd')
lst = ['a', 'b']
print(count_occurrences(tup, lst)) # Output: 3
# Example 2
tup = (1, 2, 3, 1, 4, 6, 7, 1, 4)
lst = [1, 4, 7]
print(count_occurrences(tup, lst)) # Output: 6
# Example 3
tup = (1, 2, 3, 4, 5, 6)
lst = [1, 2]
print(count_occurrences(tup, lst)) # Output: 2
```