In my solutions I assumed that we want to return the number of variants. Ok, my first solution only returns 0 or 1. It can't return the number of variants. It can only return the number of occurrences if we modify it:
```python
return len(gword_pattern.findall(araby.stripTashkeel(text)))
```
In the second solution, I just missed a `split()`:
```python
return len(set(araby.stripTashkeel(text).split()) & GWORDS_FORMS)
```