Contacts missing after syncing with I cloud and gmail
There are plenty iOS Contact Backup Apps in the Store


Easy Backup (free)
My Contacts Backup (free)


So there you can export all contacts on the iPhone to an File and import them on Google Contacts - should work fine :)  let us know (with the Checkmark) if it worked for you or not :)