Ensure int for counter increase