Change number configurations from string to int.

Change-Id: I0257ba0b2d4f78cffa96d5aee0590fc975bec389