Instruct: what is the rank when the total is 39 in the county of dublin and the matches is less than 4?
Output: SELECT AVG Rank FROM table WHERE Total = 39 AND County = dublin AND Matches < 4