Don't use `count()` unless you need it

Here it does not make a huge difference but it's a bad practice.
Merge pull request #6 from patrys/patch-1

Don't use `.count()` unless you need it