Should return 10 if string is //[;;;][++]\n1;;;2;;;3++4