calculate orders total number
could copy order content