acpi_gpio_count
int acpi_gpio_count(const struct fwnode_handle *fwnode, const char *con_id);
count = acpi_gpio_count(fwnode, con_id);