What is the total number of purchases for members with level 6?
select count(*) from purchase as t1 join member as t2 on t1.member_id = t2.member_id where t2.level = 6