add count solver