easy atomic counter type