size_t count_lines(FILE* file); int read_lines_as_int(FILE* file, int* result, int resultSize); int read_lines_as_string(FILE* file, char** result, int resultSize); void free_strings(char** strings, size_t stringCount);