Edit form updates

Fixed the bug where removing and adding ingredients would screw the other up. Also added a hidden field with the total ingredient count.