python_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/python_count - from package: sloccount

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

On Debian possible default full paths are:

/usr/bin/python_count - from package: sloccount

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