Specs: I'm using ArcInfo 10.1 and have all extensions available to me.
I have a folder with many file geodatabases.
Each file geodatabase contains 2 feature classes. One is a point fc and the other is a polygon fc.
I'm trying to figure out how to calculate the total number of polygons stored in all geodatabases in this folder. I'm happy for this number to go anywhere i.e .txt, .csv, .xls, even just a box somewhere so I can write it down.
I think I'm nearly there with ModelBuilder, but I'm stuck at what I believe is the last step.
My logic:
1 - Use an iterator to iterate through all the fgdb's in the folder.
2 - Use an iterator to iterate through the feature classes in the fgdb looking only at the polygon feature type.
3 - Use the Get Count tool to count the number of rows in the feature class.
4 - This is where I'm stuck. I think I want to be using the Collect Values tool to collect all off the returned polygon counts, but I can't figure out how to extract and sum the values from here. Am I thinking about this in completely the wrong way?