asm_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/asm_count - from package: sloccount

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

On Debian possible default full paths are:

/usr/bin/asm_count - from package: sloccount

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