function reducer( acc, value ) {
	if ( value ) {
		return acc + 1;
	}
	return acc;
}
Reducer function.

@private
@param {integer} acc - accumulated value
@param {boolean} value - current array element
@param {integer} index - current array index
@returns {integer} accumulated value