def get_occurrences(word, lyrics):
    """
    Counts number of times a word is contained within a list

    Paramaters
    ----------
    word   : String
        Word to look for
    lyrics : String[]
        List of words to search through

    Returns
    -------
    int
        num of occurences
    """
    found = 0

    for w in lyrics: 
        if word in w:
            found = found + 1

    return found