added function to calculated (brute-force) the size of the repository on-demand