function countHyphens( str ) {
	return ( str.match( RE_HYPHEN ) || '' ).length;
}
Counts the number of a hyphens (`-`) in a string.

@private
@param {string} str - input string
@returns {number} number of hyphens