Increase counter correctly

Closes https://github.com/bvssvni/rust-empty/issues/148