Você pode usar:
Integer grandChildCount = ((BigInteger) result[1]).intValue();
Ou talvez converta para
Number para cobrir tanto Integer e BigInteger valores. Integer grandChildCount = ((BigInteger) result[1]).intValue();
Number para cobrir tanto Integer e BigInteger valores.