def count_meme_entries(motif_path):
    """Count number of meme entries"""
    with open(motif_path, "r") as f:
        counter = 0
        for line in f:
            if line[:6] == "letter":
                counter += 1
    return counter