Finite Size Effects on the Collective Oscillations of a Trapped Bose Gas