Use this to find total resources.