Liquid error: undefined method `name' for nil:NilClass

How many obstacles is there on course?