Chief Complaint and HPI
Yes, in the example you provided, you can count content in the "CC:" section as HPI. The E/M documentation guidelines state that required elements may be counted no matter where they are located in a note (e.g. ROS elements may be found in the HPI section). As long as you stick with what is documented and do not "double-dip" or count the same item as more than one element, you will be fine.
The Chief Complaint is the concise statement of why the patient is seeking care, the reason for the visit, and it is usually documented in the patient's words. The HPI is the patient's subjective description of the course of the illness/injury up until this point. In your example, I would count "UTI" as the CC, and I would count two elements for the HPI: "symptoms present for one day" (duration) and "burning sensation" (associated signs and symptoms). One could argue that "burning" could be counted as a "quality" element instead, but you still end up with a two-element HPI.
One last thing... the general consensus (supported by the documentation guidelines) is that the HPI must be documented by the Physician (or NPP), rather than ancillary staff, in order to be counted. In some cases, the MA or nurse may complete the "CC" line on the note and the physician may fill out the "HPI" line. While this does not necessarily change my opinions on any of the above, it is always good to encourage the physician to document all of the HPI detail, rather than delegating this task. It may require the physician to repeat and/or summarize the input from other documentors.
Hope this helps!