At least 325 officers have been attacked in the line of duty in Fife since April.