Number of key for a list node

Do we have any parameter in side struct confd_cs_node which can tell number of key for a list node.?

struct confd_cs_node_info has a keys field which is 0-terminated array of integers. You could simply traverse that array to count the number of keys, as there isn’t a separate field which gives you the number of keys by itself.