Q:

Updating a table using outputs and insert.da.cursor

I have the following code however I need the outputs in a table which can be analysed further.  How can I take the outputs from the code below and input into the table. 
Ive used insert cursor but am getting the following error:
Runtime error 
Traceback (most recent call last):
  File "< string >", line 11, in 
TypeError: value #1 - unsupported type: Result
import arcpy
arcpy.env.workspace = r"D:\Zahir\AIS\Raw_AIS_Data\2013\Test\\"
gdblist = arcpy. ListWorkspaces()
table = arcpy. CreateTable_management("D:\Zahir\AIS\Raw_AIS_Data\Test\\", "Table.dbf")
arcpy. AddField_management(table, "Name", "TEXT")
arcpy. AddField_management(table, "PosCount", "SHORT")
arcpy. AddField_management(table, "TransCount", "SHORT")
fieldlist = ["Name", "PosCount", "TransCount"]

for g in gdblist:
    desc = arcpy. Describe(g)
    name  = desc.basename
    print name
    trans_table = "main.tblTransit"
    pos_table = "main.tblPositions"
    position_count = arcpy. GetCount_management(g + "\\" + pos_table)
    transits = arcpy. Frequency_analysis(g + "\\" + trans_table, "Trans_freq", "MMSI_ID")
    transit_count = arcpy. GetCount_management(transits)
    print g + " Unique Positions = " + str(position_count) + " and Vessel Count = " + str(transit_count)
    with arcpy.da. InsertCursor(table, fieldlist) as cursor:
        cursor.insertRow((name, position_count, transit_count))

A:

I managed to get the insert cursor to work using arcpy.insertcursor...
import arcpy
arcpy.env.workspace = r"D:\Zahir\AIS\Raw_AIS_Data\2013\Test\\"
gdblist = arcpy. ListWorkspaces()
table = arcpy. CreateTable_management("D:\Zahir\AIS\Raw_AIS_Data\Test\\", "Table.dbf")
arcpy. AddField_management(table, "Name", "TEXT")
arcpy. AddField_management(table, "PosCount", "LONG")
arcpy. AddField_management(table, "TransCount", "LONG")
cursor = arcpy.insertcursor(table)

for g in gdblist:
    desc = arcpy. Describe(g)
    name  = desc.basename
    print name
    trans_table = "main.tblTransit"
    pos_table = "main.tblPositions"
    position_count = arcpy. GetCount_management(g + "\\" + pos_table)
    transits = arcpy. Frequency_analysis(g + "\\" + trans_table, "Trans_freq", "MMSI_ID")
    transit_count = arcpy. GetCount_management(transits)
    print g + " Unique Positions = " + str(position_count) + " and Vessel Count = " + str(transit_count)
    row = cursor.newRow()
    row.setValue("Name", name)
    row.setValue("PosCount", position_count)
    row.setValue("TransCount", transit_count)
    cursor.insertRow(row)

del cursor
del row

