Count1Resources
returns number of rType resources in current file
which exist in the current resource file.
rType is a 4-byte ResType value identifying the resource type you wish to count (e.g. 'FONT', 'MENU', etc.).
Returns: a positive integer; the number of resources of the specified type in the current resource file. Returns 0 if none found.
Notes: This function is the "1-deep" version of CountResources. To generate a list of resources of type rType for the current resource file, use