Fix count_chars to actual return value (as validly expected by Travis)