tekst = """Something in the way
           Ummmmm
           Something in the way, yeah
           Ummmmm
           Something in the way
           Ummmmm"""
print(tekst.count("m"))

tekst = """Something in the way
           Ummmmm
           Something in the way, yeah
           Ummmmm
           Something in the way
           Ummmmm"""
print(tekst.count("m"))

Something in the way            Ummmmm            Something in the way, yeah            Ummmmm            Something in the way            Ummmmm