aCount, eCount, iCount, oCount, uCount to 1 since there is one string of length 1 for each vowel.2 to n, update the counts for each vowel based on the previous counts and the rules provided.aCountNew = eCount + iCount + uCounteCountNew = aCount + iCountiCountNew = eCount + oCountoCountNew = iCountuCountNew = iCount + oCount10^9 + 7.