import telepot
bot = telepot.Bot('148865285:AAHvwDHJGVrSzEGJ_ToGUxk1RWclvX2L_W4')
bot.getMe()

@@ -4,34 +4,566 @@
 ort 
-telepot%0Abot = telepot.Bot(
+sys%0Aimport asyncio%0Aimport telepot%0Afrom telepot.delegate import per_chat_id%0Afrom telepot.async.delegate import create_open%0A%0A%22%22%22%0A$ python3.4 countera.py %3Ctoken%3E%0ACount number of messages. Start over if silent for 10 seconds.%0A%22%22%22%0A%0A%0Aclass MessageCounter(telepot.helper.ChatHandler):%0A    def __init__(self, seed_tuple, timeout):%0A        super(MessageCounter, self).__init__(seed_tuple, timeout)%0A        self._count = 0%0A%0A    @asyncio.coroutine%0A    def on_message(self, msg):%0A        self._count += 1%0A        yield from self.sender.sendMessage(self._count)%0A%0ATOKEN = 
 '148
@@ -609,18 +609,224 @@
 _W4'
-)
+%0A
 %0Abot
-.getMe()%0A
+ = telepot.async.DelegatorBot(TOKEN, %5B%0A    (per_chat_id(), create_open(MessageCounter, timeout=10)),%0A%5D)%0A%0Aloop = asyncio.get_event_loop()%0Aloop.create_task(bot.messageLoop())%0Aprint('Listening ...')%0A%0Aloop.run_forever()

Add simple message counter