def ekccnt(table):
    """
    Return the number of distinct columns in a specified,
    currently loaded table.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekccnt_c.html

    :param table: Name of table.
    :type table: str
    :return: Count of distinct, currently loaded columns.
    :rtype: int
    """
    table = stypes.stringToCharP(table)
    ccount = ctypes.c_int()
    libspice.ekccnt_c(table, ctypes.byref(ccount))
    return ccount.value
Return the number of distinct columns in a specified,
    currently loaded table.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekccnt_c.html

    :param table: Name of table.
    :type table: str
    :return: Count of distinct, currently loaded columns.
    :rtype: int