combined version of our Loc Counter