added company_count and people count for contacts_query
fix companies_count instead company_count
did pagination for companies and people separatelly
fix pagination for people and company