Module to calculate list size