b looks like come sort of (standard library) container, eg vector, for which the size method is defined that returns the number of elements in the container
If the code is legit, then the b must be a class (or struct) that has member function named "size" and the "size" returns a value that can implicitly convert to number.
That is all that we know with the given information.