createdCount debugging working