Apache Lucene.Net 2.4.0 Class Library API

BitVector.Size Method 

Returns the number of bits in this vector. This is also one greater than the number of the largest valid bit number.

public int Size();

See Also

BitVector Class | Lucene.Net.Util Namespace