```python
def count_first_elements(test_tup):
    """
    Finds the element count that occurs before the first nested tuple in the given tuple.
    A "record" is interpreted as a nested tuple.
    If no nested tuple is found, the total number of elements is returned.
    """
    for index, element in enumerate(test_tup):
        if isinstance(element, tuple):
            return index
    return len(test_tup)

```