Implemented recount mechanism.