fortran_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/fortran_count - from package: sloccount

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

On Debian possible default full paths are:

/usr/bin/fortran_count - from package: sloccount

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