Cache the number of items in an OFList.