src/helpers.js
function getCharCount(e, s) {
  s = s || ",";
  return getInnerText(e).split(s).length;
}
function getCharCount(e, s) {
  s = s || ",";
  return getInnerText(e).split(s).length;
}
function getCharCount ( e , s ) { s = s || "," ; return getInnerText ( e ) . split ( s ) . length ; }
Get the number of times a string s appears in the node e.

@param Element
@param string - what to split on. Default is ","
@return number (integer)
Get the number of times a string s appears in the node e .