add friends count into db