Have teacher numbers declined under the SNP government?

Ferret Fact Service looks at Kezia Dugdale’s claim that teacher numbers have declined by 4,000 under the SNP government.