Do you know a program which gives you a list of all assembler mnemonics used by a given byte machine code (mainly for x86's) beside their number of occurrences? I don't mean something like a pure disassembler. I'm only interested in their absolute frequencies.
Edit: I'm happy too with a simple shell script or a cunning sequence of well known command line tools like grep.