what is the total of rank when gold is 2 and total is more than 4?
3.0