bool-vector-count-consecutive

bool-vector-count-consecutive is a built-in function in `C source code'.

(bool-vector-count-consecutive A B I)

Count how many consecutive elements in A equal B starting at I.
A is a bool vector, B is t or nil, and I is an index into A.