added counting of sid files for author queries