remove counter.hpp in cmake