Count number of rows in Excel

i made the change now getting an error "option strict on disallows implicit conversions from string to integer