Scope variables.
Use promise for countAll().
Use promises for pods store database.
Fix countAll().
Fix pods count.
Only load the chunk that is needed from store. This boosts performance.