Vote counting is underway in Thailand's general election, seen as a three-way race among progressive, populist and patronage politics.