The Contribution of Late-Type/Irregulars to the Faint Galaxy Counts from Hubble Space Telescope Medium-Deep Survey Images