this is the "rule of thumb" of counting the seconds from when you see the lightning to when you hear the thunder and dividing by 5 to get the distance in miles
in this case, 8/5=1.4 miles
the speed of the flash (about 186,000 miles per second) is considered instantaneous