When Alex explains to Erica how Rex is going to catch the ball in the lab, he estimates the time, from when he hits the ball to when Rex catches it, is "5.2 seconds." It then takes almost twice that long for the experiment to take place.
The character Rex, a male, is obviously played by a female dog, as she squats in the park when relieving herself.