Gets the number of elements contained in the ICollection`1.
A int that indicates the number of elements contained in the current instance.