Olympiad level counting  (Generating functions)