Lizishu has a colorful ribbon, which can be expressed as a string consists of only lowercase letters, and each letter represents a color.
Now she wants to divide the ribbon into several parts so that no color appears more than one time in each part.
Tell her how many different ways can she divide the ribbon, output the answer modulo $10^9 + 7$.