private int parseCount(String s) {
		return s == null ? 1 : Integer.valueOf(s);
	}
Convert a String value to an int. Returns 1 if the String is null.

@param s string to convert

@return int value of String, or 1 if null
spring-xd-module/src/main/java/org/springframework/xd/module/ModuleDeploymentProperties.java