cobol_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/cobol_count - from package: sloccount

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

On Debian possible default full paths are:

/usr/bin/cobol_count - from package: sloccount

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