Use a positional argument for the music loop count since it works with more pygame versions.