fixed resource count - now changes accurately when adding and deleting