Directing your mount is part of your horse’s movement and should cost you neither an action nor a bonus action. Therefore, Peregrine, during his battle with Slinky, was able to direct to perform an action, direct Horsey to do the horse’s actions, and perform his own actions all in 1 turn resulting in a total of 4 attacks.