<｜begin▁of▁sentence｜>### Instruction:
Given a situation where you need to generate unique identifiers for distinct objects, and keep track of the number of unique items created, can you use the UniqueIdGenerator from NetworkX and its __len__ method to count the generated unique IDs?
### Response:
from networkx.utils import UniqueIdGenerator

# Initialize UniqueIdGenerator
uid = UniqueIdGenerator()

# Generate some unique ids
id1 = uid()
id2 = uid()
id3 = uid()

# Get the number of unique items generated
count = len(uid)

print('Number of unique ids generated:', count)
<|EOT|>
