Now can count how many X are close to one another