When you make a typo and fix it, It will detect the difference, then a relation between misspelled word and the correction is going to be received or created
If the relation already exists, the count variable in the relation will increase.
That count variable counts how many times someone changed the misspelled word to the accurate word.
It is for showing the best matches to the user.
After every letter you write, you are going to receive top 3 suggestions for the last word in the input area.
When someone types "hellp" they would probably fix that to "hello", and assume that this typo has been changed to "hello" 10 times.
But there will also be someone that meant "help", and change the "hellp" to "help", and let's assume that this has been done 5 times
Then the suggestion "hello" is going to be in the first place.
The suggestions are the top 3 words that have the highest value of count variable in their relations with the misspelled word.