sed_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/sed_count - from package: sloccount

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

On Debian possible default full paths are:

/usr/bin/sed_count - from package: sloccount

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