Adds a new attribute called "view count" to the item model of YAG for counting the views.