Is there a way to count the products stored in memory? I want to hide a view if there is no recently viewed