title: Count number of rows in flexbox
body: <p>In my android application i have used <code>flexbox-layout</code>.<br />
  I am adding buttons dynamically into the <code>flexbox</code>.<br />
  I need to know how many rows are currently rendered (How many rows flexbox created to show the buttons)<br />
  This is my <code>flexbox-layout</code>:</p>
  <pre><code>&lt;com.google.android.flexbox.FlexboxLayout
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:id=&quot;@+id/filterActivity_tags_container&quot;
      app:flexWrap=&quot;wrap&quot;
      app:justifyContent=&quot;flex_end&quot; /&gt;
  </code></pre>