[#btck-ChainView-CountEntries]
= xref:btck.adoc[btck]::xref:btck/ChainView.adoc[ChainView]::CountEntries
:relfileprefix: ../../
:mrdocs:

Returns the number of entries in the chain&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int32&lowbar;t
CountEntries() const;
----

== Return Value

The entry count, including the genesis block&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
