Added .numberOfVisibleProducts() to the catalog controller