Add diffstat formula