Replace Count() by Any() when possible