Peace
Just curious which version of Quran did you use. I have found same word has different number of letters in different versions. Some have extra alifs.
What is your definition of distinct/unique word. I have seen you have used اللَّهَ and لِلَّهِ as two different words. Some word will have suffixes and prefixes.