increments the field "views" in a method of AppModel