builtin_plots: fixed bug in StateVector bit count