Input (grade 12): It seems the Count is angry with Cherubino's amorous ways, having discovered him with the gardener's daughter, Barbarina, and plans to punish him.
Output (grade 7): It seems the Count is angry with Cherubino's flirting ways. He had discovered him with the gardener's daughter, Barbarina, and plans to punish him.