get count of orders with grouping by status;
check internet connection