vrt: Use size and count in allocDg.