"modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">countUndos</span><wbr><span class="parameters">(<a href="UndoOwner.html" title="class in icyllis.modernui.core">UndoOwner</a>[]&nbsp;owners)</span></div>
<div class="block">Return the number of undo states on the undo stack.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>owners</code> - If non-null, only those states containing an operation with one of
               the owners supplied here will be 