```python
def count_charac(str1):
    """
    Counts the total number of characters in a string.
    """
    return len(str1)

```