Fixed horse count and gallery count
syntax edit