This returns the number of gaps in the alignment immediately preceding this residue. Not available for model sequences.