count loc