php_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/php_count - from package: sloccount

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

On Debian possible default full paths are:

/usr/bin/php_count - from package: sloccount

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