Meta Interview Question

Given an array, move all the non-zero elements to left and return count of non-zero elements in an array. Do this in-place.