def get_number_of_usable_hosts_from_raw_address(raw_address: str) -> int:
    """
    Get the number of usable hosts from the given raw address.

    >>> get_number_of_usable_hosts_from_raw_address('91.124.230.205/8')
    16777214
    >>> get_number_of_usable_hosts_from_raw_address('91.124.230.205/16')
    65534
    >>> get_number_of_usable_hosts_from_raw_address('91.124.230.205/24')
    254
    >>> get_number_of_usable_hosts_from_raw_address('91.124.230.205/29')
    6
    """
    num_network_bits = int(raw_address.rsplit('/')[1])

    return 2 ** (32 - num_network_bits) - 2