Is there any system method can count the total number of records of the specific object ? (for example: schema.*).
Or, how to do it with salesforce apex code to count the number of records in which the object(table) size is over 50,000 ?
Integer count = [ SELECT count() FROM Object__c ];
Use count() in the way will return error: Too many query rows: 50001
-----------------------------
Have done some research and there seems no way to do it easily... :-(