Adds support for a total_entries attribute.

This pull request adds support for a total entries attribute. It allows an accurate record count and completes the WillPaginate attribute set.