beginning row counter