Calculate just the length of list

Reducing the entire list to the normal form is O(n^2).