merge resource count feature