length
Gets the number of elements in a #GSList.
This function iterates over the whole list to count its elements. To check whether the list is non-empty, it is faster to check @list against null.
Return
the number of elements in the #GSList
Parameters
list
a #GSList