...

7. The resulting value from 6 is saved in the database:.

8. For each user, "costs per language" are totaled.

...