Cooperativity of a few quantum emitters in a single-mode cavity