Don't have Telegram yet? Try it now!
http://onezeronull.com/2012/07/17/associative-arrays-with-count-and-clear-methods-the-quickest-solution/
Associative arrays with count() and clear() methods. The quickest solution