Shouldnt be too hard to work out how it is calculated with a little reverse engineering
I noticed your post says something about how many sources there are. How did you calculate this? I found it difficult to do so bcoz the user/filename strings seemed to be variable length?