Estimating the Contribution of Dynamical Ejecta in the Kilonova Associated with GW170817