Correct data type for spawn object counting variable.