Directive to handle update on blur. Set empty goal count fields to 0.