Update gender.py

Array sequence was incorrect, causing api to skip over first element of array. Moved cnt nested in else statement above url.
Merge pull request #2 from alechoward/patch-1

Update gender.py