found the bug about not counting properly the check box, its because you have a dubplicate of textedit which was messing your counting.