any way to get records count in the module through CRM API ?

any way to get records count in the module through CRM API ?

Hi, is there any way to get records count in the module(s) through CRM API without fetching all the data from the module ?

Prior to fetch data from the module (for example via getRecords call) I need to know records count using CRM API (not account UI).

regards, 
Alex