Move size tracking to a variable, away from simply using the length of the list.
This paves the way for more complex size tracking.