Fixing an IndexError and a queryset count() issue

If there are no current votes, votes[0] throws an IndexError, and .count always returns something, but .count() may return 0.
Merge pull request #34 from johndavidback/patch-4

Fixing an IndexError and a queryset count() issue