exp_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/exp_count - from package: sloccount

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

On Debian possible default full paths are:

/usr/bin/exp_count - from package: sloccount

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