Trim

trim ve loop counter