Fix contacts' messages counter cache
Use contacts' messages_count when creating #index number_of_messages_pie_chart
Add incoming and outgoing messages counters to contacts