```python
def count_occurance(s):
    """
    Counts the occurrences of the characters 's', 't', and 'd' in a string.

    Args:
        s: The input string.

    Returns:
        A dictionary with the counts of 's', 't', and 'd'.
    """
    char_counts = {'s': 0, 't': 0, 'd': 0}

    for char in s:
        if char in char_counts:
            char_counts[char] += 1
            
    return char_counts
```