How many obstacles are there?