max-count in terms of intersection