Hey @despega: yeah, I get what you’re trying to do. (Glad that my example is not too far off what you are trying to do!) In my example, the issue is this:
Let’s say that I have a list of “Concert Dates” on each User. For example, Thomas is going to 30 concerts and so his list of concert dates is 30 dates long.
So, if I have a handle on User Thomas, I can say:
UserThomas’s Concert Dates :count
And that expression will yield 30. Similarly:
UserAmy’s Concert Dates :count
… will return 5 (Amy is going to 5 concerts in the future).
Now it sounds like we’re all good, right? Because knowing how to get one single user’s count of concert dates, can we get the count of concert dates for a LIST of Users?
Well… NO, it turns out. Here’s why: Let’s say we have a Search that will result in a list of Users that is as follows (let’s call this UserList for the sake of the below explanation):
“UserList
” is: Amy, Pedro, Petra, Becky, Thomas, Keith
OK! So now I do:
UserList's Concert Dates :count
what does this return? We hope that this is a list of Concert Dates (which is itself a list of dates) and that, then, each list of Concert Dates is turned into a :count. (So that we have a list of numbers representing the number of concerts that each User is going to.)
BUT, that’s not what this expression returns. 
Here’s what happens: Bubble expressions are evaluated from left to right. UserList
resolves to a list of Users:
Amy, Pedro, Petra, Becky, Thomas, Keith
So far so good. Now, the expression says:
Amy, Pedro, Petra, Becky, Thomas, Keith's
Concert Dates
We hope that this is a LIST of lists of Concert Dates… BUT it is not… It is a list of dates like this:
Amy's Concert Dates
concatenated with Pedro's Concert Dates
concatenated with Petra's Concert Dates
concatenated with Becky's Concert Dates
concatenated with Thomas's (massive list of) Concert Dates
concatenated with Keith's Concert Dates
That’s going to be a list of 5+6+1+2+30+3 Concert Dates (47 Concert Dates total). So now we just have a list of 47 Dates.
We can never construct a list of lists in Bubble really. We always just get a vector (a 1-dimensional array).
Foo.
So now we have some LIST OF DATES and now we take its :count:
LIST OF DATES :count
And we will get the length of that list (sort of). If every date in that list is unique, 47
will be returned to us. HOWEVER…
… when we try to take the :count of that list, the list will be “Bubbleized” and duplicates will be removed. (When we do Bubble operators on things that are arrays, they are first turned into Sets – arrays of UNIQUE items.)
So, let’s say that all of the dates in that list are unique EXCEPT for July 4, 2020 (Amy is going to see the “Beefy Weiners” on July 4th and Thomas is going to see the “Gizmotic Modulators” on July 4th – both are great bands, how could you choose?) and ALSO, April 20, 2020 (it turns out that Petra is going with me to see the “Canned Cat Quartet”… unless she flakes out again).
So, in that case, :count would return 45
.
In any case, none of this is helpful because we didn’t want a scalar value.