Refactor mrview stats counters

A part of https://github.com/apache/couchdb-couch/pull/9