adding cache count