If I’m reading this right and your field is a repeater field then you either need to use http://www.advancedcustomfields.com/resources/get_sub_field/ or the new http://www.advancedcustomfields.com/resources/have_rows/
What you are getting is the number of sub field rows in the repeater