I need to display a list of feature classes with an unknown spatial reference, and the number of feature classes with a spatial reference. I think I have the first part right, but having troubles with the second part. I've been playing around with the len() and count() but those always result in an error. The following is part of my code:
for fC in fCList:
desc = arcpy.Describe(fC)
spatialRef = desc.spatialReference
if spatialRef.Name == 'Unknown': # List of feature classes that are unknown
print "\n" + fC, ("has an 'Unknown' spatial reference\n")
else: # Number of feature classes that have a spatial reference
print ("Total number of feature classes with a spatial reference:"), count(fC)
