it seems like the getCount method in a Store checks only the data array length. Maybe it should check the pagemap as well.
I have a problem showing a grid based on the remotely populated Store. The system runs the Ext.toolbar.Paging onLoad method which uses the getCount method to determine if the Store is empty - and thinks that the store is empty. The user has to press 'refresh' button to see the data.