Counts the rows that tmDrawLayerRow uses. Takes map (The map's handle). Returns: The number of rows.
map
n = tmRowCount(map)