According to the IUPAC recommendations, the number of groups in the long form of the periodic table is:
18
In terms of the electronic structure of the atom, a group constitutes a series of elements whose atoms have the same outermost electronic configurations. There are 18 groups in the long form of the periodic table.