ignore branches when iterating over the form, added __len__ to form