Make positioning counting actually work