Annotate execution_policy-based count functions with __host__ __device__.