Added a view counter to the models