Create an integer field then use a Query action to select all the rows that have a value for the integer field and order it so the highest number is first then limit it to 1 result. Now do + 1 to the result and update the users row with the new incremented value. Query would look something like the below
Code:
UPDATE `#__comprofiler` SET `cb_integer` = ( ( SELECT `cb_integer` FROM `#__comprofiler` WHERE `cb_integer` > 0 ORDER BY `cb_integer` LIMIT 1 ) + 1 ) WHERE `id` = '[user_id]'
Note the above is just an example. I have not tested it. Modify and test as needed.