Danielle’s text messaging plan costs 7$ for the first 700 messages and 30 cents for each additional text message. If she owes 18.40$ for text messaging in the month of October, how many text messages did she send that month?