function accumulator() {
		if ( arguments.length === 0 ) {
			return count;
		}
		count += 1;
		return count;
	}
If provided a value, the accumulator function returns an updated count. If not provided a value, the accumulator function returns the current count.

@private
@param {number} [x] - new value
@returns {number} count