import re


def _syllable_count_sv(word):
    """count the number of syllables in a Swedish word"""
    word = word.lower()
    vowels = 'aoueiyåöä'
    found_vowels = [b for b in word if b in vowels]
    if found_vowels:
        # journalist is the exceptional word where ou is counted as one syllable.
        if not re.search('journalist', word):
            return len(found_vowels)
        return len(found_vowels) - 1
    return 1