@spiceErrorCheck<EOL>def ktotal(kind):
kind = stypes.stringToCharP(kind)<EOL>count = ctypes.c_int()<EOL>libspice.ktotal_c(kind, ctypes.byref(count))<EOL>return count.value<EOL>
Return the current number of kernels that have been loaded
via the KEEPER interface that are of a specified type.

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

:param kind: A list of kinds of kernels to count.
:type kind: str
:return: The number of kernels of type kind.
:rtype: int