The elephants are counted using a computer algorithm trained to identify the creatures against a variety of backdrops.