added counter directive to form refs item:230