The Count solved the equation in 2 seconds during his eulogy