hi togeir,
if i understand you correctly you are looking to store how many times
a particular node is "displayed" in an application.
personally, i think this is an application specific feature that since
semantically the definition of "view" or "display" is not identical
with the actual numer of times that the getNode() or similar is called.
i would suggest to implement it as a mixin "myapp:Countable"
or something and increment the "counter" property whenever
the respective event occurs.
of course this generates a bit of overhead since the repository
will fire observation events or re-index the modified content.
but then again this may exactly be what you want, to generate
something like a 10-ten most frequently view nodes...
regards,
david