Fixed how to compute number of views in a collection
p4#: 20842