Discrete symmetries and Efficient Counting of Operators