Vote counting was underway in Thailand's early general election on Sunday, seen as a three-way race among competing visions of progressive, populist and old-fashioned patronage politics.