count-icons-in-file

Arguments:
filename

Returns a non-negative integer indicating the number of icons in the
file filename. Zero is returned if the file does
not exist, is of some other type, or if no icons are in the
file. filename should be a string indicating a file with a .ico, .dll,
or .exe extension.