AnsweredAssumed Answered

How to determine number of records using arcpy.da.SearchCursor

Question asked by brucejr312 on Mar 21, 2014
Latest reply on Jan 14, 2015 by Leandermen
Does anyone know of a quick way to return the number of records in a query constrained Search Cursor using the da module?

rows = arcpy.da.SearchCursor(someFC,someFields,someQuery)  print (len(rows))  #I'm sure this used to work with the old cursors, but doesn't work with da.SearchCursor