Maintain counts for indexed resources