Mecab-haskell is a project mainly written in HASKELL and C, based on the BSD-3-Clause license.
MeCab haskell biding
For now, I use c_length C-function instead. I'm investigating why.