Calculating Water Loss in the Distribution System

What are the best methods to calculate/estimate the water loss in the water distribution network? How can I calculate the Linear Water Losses Index (LWLI)? I need the formula for a community water distribution system of 10000 households.