We often have this kind of requirement. We want to see how many data sets and how many element classes are in the database. If we use the same number, we will find it troublesome, you can use a small Python script to complete such a task. You can complete the task in the desktop integration window in a separate Python environment, but there is no big difference, below is a section of my experimentCodeFor reference only.
# Coding = UTF-8
Import arcpy
Import OS
Arcpy. Env. workspace = 'e: \ dat. GDB'
Print 'processing .................'
FCS = []
Dscount = 0
Fscount = 0
For FDS in arcpy. listdatasets ('','') + ['']:
If not FDS = '':
Dscount = dscount + 1
For FC in arcpy. listfeatureclasses ('','', FDS ):
# Yield OS. Path. Join (FDS, FC)
FCS. append (OS. Path. Join (FDS, FC ))
For FCP in FCS:
Print FCP
Fscount = fscount + 1
Print 'vector Dataset: '+ STR (dscount) +'
Print 'vector element class: '+ STR (fscount) +'