fixing error where collector would return boolean instead of int

We would see metrics like: .auto_delete:False|g instead of .auto_delete:0|g