def get_num_lines(new_crystal_text):
    """ determine number of lines *per block* in new_crystal file """
    header_text = new_crystal_text[0]
    for i, line in enumerate(new_crystal_text[1:]):
        if line==header_text:
            num_lines = i+1
            return num_lines