First load data, after that, load the count. This to enhance user experi...

...ence: loading data is relatively quick with databases and counting relatively slow.