calculating 991 GIFs