stract </span><span class="token keyword">fun </span><a href="count-local-declarations.html"><span class="token function">countLocalDeclarations</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">predicate<span class="token operator">: </span><span class="token punctuation">(</span><a href="../../com.lemonappdev.konsist.api.declaration/-ko-base-declaration/index.html">KoBaseDeclaration</a><span class="token punctuation">)</span><span class="token operator"> 