Parse indexLimit as integer