Returns number of frames in tab state animation image list or zero if tab doesn't have state animation.