I dug through a lot of posts but not getting it. I normally use Summary Stats but cannot in this case. Python 2.7.
Using Group By in SQL looks something like

How do I get the count as a field so I can use it? Most SQL examples have count(field) as field but I can't get that to go and not really sure where to put it. I got the trick to add ObjectID.
I want to get a total for each EvaluationID.
Here is what I got (note row[0] is from a upperlevel searchcursor)
selectClause = row[0] + " IS NOT NULL or CAST(" + row[0] + " AS CHARACTER(255)) <> ''"
fieldList2 = ["EvaluationID", "ObjectID", "COUNT(EvaluationID) AS idCount"]
with arcpy.da.SearchCursor(table, fieldList2, selectClause, sql_clause=(None, 'GROUP BY EvaluationID, ObjectID')) as cursor2:
for row2 in cursor2:
print "use count here somehow"
I get the error An expected Field was not found or could not be retrieved properly. [idCount]
Thanks a lot