code: def get_snapshot_table(account):
      
      table = formatting.KeyValueTable(["Name", "Value"], title="Account Snapshot")
      table.align['Name'] = 'r'
      table.align['Value'] = 'l'
      table.add_row(['Company Name', account.get('companyName', '-')])
      table.add_row(['Balance', utils.lookup(account, 'pendingInvoice', 'startingBalance')])
      table.add_row(['Upcoming Invoice', utils.lookup(account, 'pendingInvoice', 'invoiceTotalAmount')])
      table.add_row(['Image Templates', account.get('blockDeviceTemplateGroupCount', '-')])
      table.add_row(['Dedicated Hosts', account.get('dedicatedHostCount', '-')])
      table.add_row(['Hardware', account.get('hardwareCount', '-')])
      table.add_row(['Virtual Guests', account.get('virtualGuestCount', '-')])
      table.add_row(['Domains', account.get('domainCount', '-')])
      table.add_row(['Network Storage Volumes', account.get('networkStorageCount', '-')])
      table.add_row(['Open Tickets', account.get('openTicketCount', '-')])
      table.add_row(['Network Vlans', account.get('networkVlanCount', '-')])
      table.add_row(['Subnets', account.get('subnetCount', '-')])
      table.add_row(['Users', account.get('userCount', '-')])
      return table
docs: Generates a table for printing account summary data