New function: longnum_length().

This function count the amount of s_longnum_digit in the linked list.
Optimize longnum_multiply to reduce posibility to call realloc().