get statistics from server