I’d store it in a usermeta item. Write a function that gets called every time an activity item
is recorded, and increment the activity count by one. You’ll also need to write a script that loops through all your members and figures out an initial value for the user activity count. Then just use get_usermeta to get the count when needed.