You are correct, that these two local councils that were not binding on the whole Church did hold to a 73 book Bible, and that following Trent, it is those 73 books those in communion with the Bishop of Rome hold as canon. Other traditions within the Church hold to slightly different canons.At the council of Hippo the current 73 books of the bible were declared and then affirmed at the council of Carthage in the late 300s ad.
Jon