"Swagger" as a collective noun for people is not standard English.
However, interpreting "swagger" as a verb/adjective:
"A swagger of people" would poetically describe a group moving/acting with bold, stylish confidence — heads high, coordinated, owning the space.
If you encountered "swagger" as a collective noun, it's likely creative writing / slang, not dictionary-recognized.