Only six are given in Luke, whose version is thus known as the six woes: three are directed to the Pharisees and three to the scribes.
[1] The woes are mentioned twice in the narratives in the Gospels of Matthew and Luke.
In Matthew they are mentioned after Jesus' triumphal entry into Jerusalem, where he teaches in the Temple, while in Luke they are mentioned after the Lord's Prayer is given and the disciples are first sent out over the land.
Before introducing the woes, Matthew states that Jesus criticized them for taking the place of honor at banquets, for wearing ostentatious clothing, and for encouraging people to call them rabbi.
[1] Jesus portrays the Pharisees as impatient with outward, ritual observance of minutiae which made them look acceptable and virtuous outwardly but left the inner person unreformed.