The total number of basic groups in the following form of lysine is
There are two basic groups in lysine - as in there are two sites/sources of electron-donation. In the zwitterionic form, the place of negative-charge and the other amino group are places from where electron-donation can happen. In the neutral molecule format, there are two amine nitrogen atoms.