Why on earth doesn't LinkedList already have a size() method? I'm thinking of typed languages, I guess, but surely any sane collection type knows how to perform addition/concatenation with other instances of its own type, right?
If you want to know the length of a list you can use the predicate length/2:
?- length([a,b,c,d], N).
N = 4.
The example above just shows you how length/2 works (albeit with some CLP operators that are not typical).Edit: also, lists are not a "collection type" or any type at all. They're predicates, like everything else in the language. See my comment below - the easiest way to think of them is as patterns (just like in regexes, only Turing complete).
If that's not what you were trying to say, then I still don't understand what you were trying to say.