if fish were not masculine, would the number be שלושים וארבע?
Yes
shloshím ve-arba'á dagím sochím kan.
why is it fish and not fishes?
In Hebrew דָּג is a normal countable noun. But in English, for more than one, fish is the usual plural form. The older form, fishes, can be used to refer to different kinds of fish.