Add 'counted' list which maintains size

Change-Id: I449c52c3b91e9d13230a5576f71ba4be54cf4c5a
fixes #5

Change-Id: Id8288b28be45b78b445ea35322df5de04618987f