I know this is a stale thread, but I needed a solution for this as well and found one.
var new_rect = your_anim_sprite.get_sprite_frames().get_frame("choose_an_animation_name",0).get_size()
You have to drill down through your animation to get to a frame you want to get_size from. Good luck!