Write a Python function `count_first_elements` that takes a tuple as input and returns the number of elements that occur before the first tuple element in the given tuple. If there is no tuple element in the input tuple, return the total number of elements in the tuple.
#### Example Usage
```python [main.nopy]
print(count_first_elements((1, 5, 7, (4, 6), 10))) # Output: 3
print(count_first_elements((2, 9, (5, 7), 11))) # Output: 2
print(count_first_elements((11, 15, 5, 8, (2, 3), 8))) # Output: 4
print(count_first_elements((1, 2, 3, 4))) # Output: 4
```
#### Constraints
- The input will always be a tuple.
- The tuple can contain any type of elements, including other tuples.