How many tasks are there for the automatic program?