Harnack's curve theorem — number of connected components an algebraic curve can have