Use query to calculate folder size
Add test for calculating size of newly empty folder