A person can pay $14 for a membership to the history museum and then go to the museum for just $5 per visit. What is the maximum number of visits a member of the history museum can make for a total cost of $44?