def get_old_stats(self):
        return self.db.one("""
         SELECT sum(amount), count(amount)
           FROM current_tips
           JOIN participants p ON p.username = tipper
          WHERE tippee = %s
            AND p.claimed_time IS NOT null
            AND p.is_suspicious IS NOT true
            AND p.is_closed IS NOT true
            AND is_funded
            AND amount > 0
        """, (self.username,))
Returns a tuple: (sum, number) of old-style 1.0 tips.
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/models/participant.py/Participant.get_old_stats