keep count of subforms