the_row in repeater acf number of row code example
Example: have_rows count acf php
$numrows = count( get_field( 'field_name', 'post_id' ) );
// post_id isn't need but required in some situations
$numrows = count( get_field( 'field_name', 'post_id' ) );
// post_id isn't need but required in some situations