Returns the number of bits in this vector. This is also one greater than the number of the largest valid bit number.
BitVector Class | Lucene.Net.Util Namespace