ocount: 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/ocount - from package: oprofile

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