Consider the following pseudocodes which are executed on the Words dataset and answer the given subquestions.
Pseudocode 1:
```
count = 0
L = []
while(Table 1 has more rows) {
Read the first row X in Table 1
L = addSomething(L, X)
if(X.Word ends with a full stop) {
if(length(L) >= 10) {
count = count + 1
}
L = []
}
Move X to Table 2
}
Procedure addSomething(M, Y)
i = 1
while(i <= Y.LetterCount) {
p = ith letter of Y.Word
if(not(member(M, p))) {
M = M ++ [p]
}
i = i + 1
}
return(M)
End addSomething
```
Pseudocode 2:
```
count = 0
L = []
while(Table 1 has more rows) {
Read the first row X in Table 1
L = addSomething(L, X)
if(X.Word ends with full stop and length(L) >= 10) {
count = count + 1
L = []
}
Move X to Table 2
}
Procedure addSomething(M, Y)
i = 1
while(i <= Y.LetterCount) {
p = ith letter of Y.Word
if(not(member(M, p))) {
M = M ++ [p]
}
i = i + 1
}
return(M)
End addSomething
```
Question
What changes/modification should we make to Pseudocode 2 so that, at the end of execution, `count` represents the number of words having at least 4 distinct letters in the dataset?