changes to count operation and operator test