Is this an appropriate use of views
I have a document for which I want to be able to count or even identify those documents which have a particular view, see example at bottom of this email.
Having attempted to use views and map/reduce to accomplish this and have come up with nothing, the problem being I cannot seem to get it to drill into the array in order to do the count.
Can someone point this complete beginner in the right direction.
Many thanks in advance
Single document which shows two views of the same object, sometimes though there is only one view and other times there could be multiple views
"a_tail" : "y"
"b_tail" : "g"