Added num_views field to models