Added imagecount targets for making sure imagecount is accurate.