چگونه کل شماره های ذخیره شده را نمایش دهیم؟

import contacts
db=contacts.open()
for id in db:
print 'Contact:%s'%db[id]
print 'number of entries:%i'%len(db)