Add a getGifLength function

In case of like me you need to know the length of the gif