Retrieve total number of transactions and addresses from mysql to
support complete paging symantics.