Qawm and raht are collective expressions: their outward form may be singular while their meanings point to groups of people.
Qawm — members of a people or community.
Raht — a group of persons.
An important distinction is that referring to a collective is not the same as including every human being without qualification. One must still determine the relevant group and context to interpret the breadth of the expression.