A counter column value is a 64-bit signed integer. You cannot set the value of a counter, which supports two operations: increment and decrement.
Use counter types as described in Using a counter. Do not assign this type to a column that serves as the primary key or partition key. Also, do not use the counter type in a table that contains anything other than counter types and the primary key. To generate sequential numbers for surrogate keys, use the timeuuid type instead of the counter type. You cannot create an index on a counter column or set data in a counter column to expire using the Time-To-Live (TTL) property.