Find the number of ways of arranging the letters in AABBCC, so that the sequence "AB" appears at least once.