Kokotović, Nikola, 1859-1917