Adding view count to model.