<｜begin▁of▁sentence｜>### Instruction:
Certainly! Here's a rephrased scenario reflecting the profession of an IT Support Specialist:

"Imagine you're helping a customer resolve a software issue related to their network analysis tool. They need to use NetworkX to generate a model of a perfectly balanced binary tree with a height of 3 for their upcoming project presentation. They require assistance in determining the total count of nodes and connections (edges) within this tree structure. Additionally, they're seeking your expertise in creating a visual diagram that accurately represents this binary tree for their visual aids. Could you walk them through the steps of configuring their NetworkX setup to achieve this?"
### Response:
import networkx as nx

# Create a perfectly balanced binary tree of height 3
G = nx.balanced_tree(r=2, h=3)

# Draw the graph
nx.draw(G, with_labels=True)

# Display the number of nodes and edges
print(f'Number of nodes: {G.number_of_nodes()}')
print(f'Number of edges: {G.number_of_edges()}')
<|EOT|>
