haskell_count: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/haskell_count - from package: sloccount

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/haskell_count - from package: sloccount

You may install the required package with command apt-get install {package}
Error in other languages:
haskell_count: bevel nie gevind nie
haskell_count: comandă negăsită
haskell_count: comando não encontrado
haskell_count: commande introuvable
haskell_count: command not found
haskell_count: käsku ei ole
haskell_count: không tìm thấy lệnh
haskell_count: komanda nerasta
haskell_count: Kommando nicht gefunden.
haskell_count: kommandot finns inte
haskell_count: komut yok
haskell_count: nie znaleziono polecenia
haskell_count: níor aimsíodh an t-ordú
haskell_count: no se encontró la orden
haskell_count: no s'ha trobat l'ordre
haskell_count: opdracht niet gevonden
haskell_count: parancs nem található
haskell_count: perintah tidak ditemukan
haskell_count: príkaz nenájdený
haskell_count: příkaz nenalezen
haskell_count: команда не найдена
haskell_count: командата не е открита
haskell_count: 命令找不到
haskell_count: コマンドが見つかりません