def send_messages(self, messages):
    '\n        Send messages.\n\n        :param list messages: List of SmsMessage instances.\n        :returns: number of messages sended successful.\n        :rtype: int\n        '
    counter = 0
    for message in messages:
        res = self._send(message)
        if res:
            counter += 1
    return counter
Send messages.

:param list messages: List of SmsMessage instances.
:returns: number of messages sended successful.
:rtype: int
def send_messages(self, messages):
    '\n        Send messages.\n\n        :param list messages: List of SmsMessage instances.\n        :returns: number of messages sended successful.\n        :rtype: int\n        '
    counter = 0
    for message in messages:
        res = self._send(message)
        if res:
            counter += 1
    return counter