[jmdb] Adding message stats to the poll status page and querying ability