Added factory for getting property counter. complate triangle_counter. Added randomizer_base class