Added method for counting paragraphs in NSString