Add support for Primary Storage on Gluster using the libvirt backend

The support for Gluster as Primary Storage is mostly based on the
implementation for NFS. Like NFS, libvirt can address a Gluster environment
through the 'netfs' pool-type.
Fix parameter index in getCount function.