Returns the number of items on the witness stack.
Declared in <kernel/bitcoinkernel_wrapper.h>
<kernel/bitcoinkernel_wrapper.h>
size_t CountItems() const;
The item count.