solved count on cantor