Added NullLength extension to help testing collections

This will help validating that collections contain the correct number
of elements, since we'll be able to get the element count from null
collections without getting a NullReferenceException