fixed abug in counting FS and NFS variants.