How to get a property in Pie Menu?

Probably it’s very simple, but so far i couldn’t find it.
I want to set the number of verts in a pie menu. (from Geomety nodes)
This is what I got so far:

class VIEW3D_MT_PIE_template(Menu):
    # label is displayed at the center of the pie menu.
    bl_label = "Select Mode"

    def draw(self, context):
        layout = self.layout

        pie = layout.menu_pie()
        # operator_enum will just spread all available options
        # for the type enum of the operator on the pie
        pie.prop(context.active_object.modifiers['GeometryNodes']['Input_5'],"2", text="Set the verts")

I struggle with the part [‘GeometryNodes’][‘Input_5’],“2”

Tried:
pie.prop(context.active_object.modifiers[‘GeometryNodes’],‘Input_5’ ,text=“Set the verts”)
pie.prop(context.active_object.modifiers[‘GeometryNodes’][‘Input_5’],‘Vertices’ ,text=“Set the verts”)
pie.prop(context.active_object.modifiers[‘GeometryNodes’],[‘Input_5’] ,text=“Set the verts”)
pie.prop(context.active_object.modifiers[‘GeometryNodes’], str([‘Input_5’]),text=“Set the verts”)

Strange, when I look at the value, it give just 6, and it’s not a list:

>>> bpy.data.objects['Geo_01_Cube.003'].modifiers['GeometryNodes']['Input_5']
6

The full data path to the property is:
bpy.data.objects[“Geo_01_Cube.003”].modifiers[“GeometryNodes”][“Input_5”]

I couldn’t get it to work that way, but with this approach it worked:

pie.prop( context.active_object.modifiers['GeometryNodes'].node_group.nodes["Cylinder"].inputs[0], "default_value", text="Set vertices")