Based on the code below how can I store the resultant value from GetCount in a numeric datatype? When I try the `int` function I get the following error:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'Result'
Code:
import arcpy
arcpy.env.workspace = "C:/data/data.gdb"
Count = arcpy.management.GetCount("roads")
Count = int(Count)