count 0 bug