acf count have_rows 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