Add position counter fixing #11