count-string

  1. 请在 src/count-string.js 中实现 countString 函数
  2. 函数作用:将字符串进行计数
  3. 例如:当传入['a','b','c','a','b'],则函数应该返回['a-2','b-2','c-1']