hyverv: hypervCreateEmbeddedParam: Rework items counting
hyverv: hypervCreateEmbeddedParam: Rework items counting

It's not necessarily clear, why we need to create the hash table
as big as number of fields we want to store, but nevertheless,
the code can be written a bit better. The @count should be type
of size_t and could be used directly in the loop that counts the
fields.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>
Reviewed-by: Matt Coleman <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@datto.com>

olafhering/libvirt,libvirt/libvirt,jardasgit/libvirt,crobinso/libvirt,zippy2/libvirt,libvirt/libvirt,jfehlig/libvirt,nertpinx/libvirt,jfehlig/libvirt,olafhering/libvirt,libvirt/libvirt,zippy2/libvirt,nertpinx/libvirt,zippy2/libvirt,crobinso/libvirt,jardasgit/libvirt,nertpinx/libvirt,olafhering/libvirt,jardasgit/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,jardasgit/libvirt,libvirt/libvirt,jfehlig/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,jardasgit/libvirt,olafhering/libvirt