Gauche defects of Lipid chain

GROMACS version: 2016.3
can anyone suggest me how to calculate gauche defects of lipid chains in Gromacs by its own program??? I need it urgently, please help me out as I am new in the Gromacs field.
Thanks in advance.