# How do I get the number of rows of a datatool table?

I create a table as follows:

\usepackage{datatool}
\begin{document}
\DTLnewdb{MaTable}
\end{document}


This table may be filled with several occurrences of

\DTLnewrow{MaTable}
\DTLnewdbentry{MaTable}{key}{value}


My question is: How can I get the total number of rows of the table?

-

\DTLrowcount{Table}