How many pairs of ganglia are in a segment