Why is my form views counter incorrect?