D'oh - counting $totalcount wrongly (duplicate courses are ignored)
tree6ed08c8435ef9181ff60e0a20420aebedd645829
-rw-r--r-- 297681 CHANGES
-rw-r--r-- 883 README.txt
drwxr-xr-x - admin
drwxr-xr-x - auth
drwxr-xr-x - backup
drwxr-xr-x - blocks
drwxr-xr-x - blog
drwxr-xr-x - calendar
-rw-r--r-- 15951 config-dist.php
drwxr-xr-x - course
drwxr-xr-x - doc
drwxr-xr-x - enrol
drwxr-xr-x - error
-rw-r--r-- 6705 file.php
drwxr-xr-x - files
drwxr-xr-x - filter
drwxr-xr-x - grade
drwxr-xr-x - group
-rw-r--r-- 7195 help.php
-rw-r--r-- 12538 index.php
-rw-r--r-- 45062 install.php
drwxr-xr-x - install
drwxr-xr-x - iplookup
drwxr-xr-x - lang
drwxr-xr-x - lib
drwxr-xr-x - login
drwxr-xr-x - message
drwxr-xr-x - mnet
drwxr-xr-x - mod
drwxr-xr-x - my
drwxr-xr-x - pix
drwxr-xr-x - question
drwxr-xr-x - rss
drwxr-xr-x - search
drwxr-xr-x - sso
-rw-r--r-- 1138219 tags
drwxr-xr-x - theme
drwxr-xr-x - user
drwxr-xr-x - userpix
-rw-r--r-- 432 version.php