GetNum

Generically gets the number of items in a contiguous container