added resource counts to index