Joe thank you for your suggestion. This is the code block that I came up with. Unfortunately, when I place it multiple times in the script to handle the number of inputs I get undesired results. I could probably set up a loop that runs through this code block, but my python skills are limited.
whereClause = "Status = 'U'"
arcpy.MakeFeatureLayer_management(geocode_result1, "geocode_result1", whereClause)
result = arcpy.GetCount_management("geocode_result1")
count = int(result.getOutput(0))
if count > 0:
try:
arcpy.AddMessage("Weekly Crime: Unmatched:" + count)
except:
arcpy.AddMessage("Weekly Crime: All Matched")
Below is the common result I receive. The two issues are for one, not all the messages are displayed. The second issue is that the outputs are wrong, "Weekly Crime 4 Weeks" should return the unmatched response not an all matched response.
Messages:
Running script Geocoding Weekly Crimes...
Weekly Crime 4 Weeks: All Matched
Weekly Crime 4 Weeks Night: All Matched
Completed script Geocoding Weekly Crimes...