How many pins does a PCIe connector have?

A PCIe x1 connector has 36 pins(18 pins on each side)

A PCIe x4 connector has 64 pins(32 pins on each side)

A PCIe x8 connector has 98 pins(49 pins on each side)

A PCIe x16 connector has 164 pins(82 pins on each side)

A PCIe x24 connector has 230 pins (115 pins on each side)

Source: Samtec catalog, Amphenol datasheet (x24)