problem_235

also added elem_count