Determining the number of Higgs particles starting from general relativity and various other field theories