usage for loop count with bash.