1.8 - Count is incremented first and total is not defined. If total = 0, this statement would never be executed
1.9 - The name of the definition of choice. Definition name sould not be in all caps fir an active function.
1.10 - By making definitions clearer and use variable type like float, int, double. Executing function with different variables could cause wrong output or syntax errors.
1.11 - First comment does not specify what the function does, but it just comments on return type
Comment in the center does not specify what to do in the if statement
Increment line counter does not give what the function is doing