"wordlist_count": {
"map": "function(doc) { if (doc.wordlist) emit(doc.wordlist, null) }",
"reduce" : "_count"
}
function(doc) {
if (doc.category == "free") channel("free")
channel(doc.wordlist); // This is the part that I expect to replicate the same docs as the SG view.
}