add perfect count, and hide repeat box