$ZBITCOUNT()

The $ZBITCOUNT function returns the number of ON bits in a bit string.

The format for the $ZBITCOUNT function is:

    $ZBITCOUNT(expr)