Products.Join( ProductLikes, s => s.ProductID, d => d.ProductID, (s, d) => new { ProductID = s.ProductID, ImageUrl = s.ImageUrl, StoreID = s.UserID, SoldCount = s.SoldCount })
.GroupBy(g => new { ProductID = g.ProductID, ImageUrl = g.ImageUrl })
.Select(d => new { ProductID = d.Key.ProductID, ImageUrl = d.Key.ImageUrl, TotalCount = d.Count( ) }) .ToList().Distinct()