Check presence of count key when checking for more pages

Some people (including me) have seen the following Lua runtime error:

```
formspring.lua:169: attempt to compare number with nil
```

This PR contains a hack to get around the issue.  I'm not sure if it's actually doing the right thing, though.  Review appreciated.