system.totalOpenOrders and system.totalOrders can return the same value. They can also return different values when system.totalOrders( symbol ) is called with a symbol value in its optional parameter.