@spiceErrorCheck<EOL>def ekccnt(table):
table = stypes.stringToCharP(table)<EOL>ccount = ctypes.c_int()<EOL>libspice.ekccnt_c(table, ctypes.byref(ccount))<EOL>return ccount.value<EOL>
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