added a final method to determine the number of nodes required in your cluster. also added tests to ensure this method is working as expected