The circuit court shall hear and determine all motions against attorneys at law, sheriffs, coroners, and other officers, for money collected or received as such, and not paid over on demand to the party entitled to the same, and may give judgment and award execution thereon.