Use number of queued SQS messages for pending count.

Fixes #35