Since you are already changing this file, can you please fix this? Make it return the number of gwords. There are many ways to do this:
```python
return len(set(gword_pattern.findall(araby.stripTashkeel(text))))
# OR:
return len(set(araby.stripTashkeel(text)) & GWORDS_FORMS)
```
I couldn't find where this function is being called, @assem-ch do you know?