Create structure to count neighbors