i think time spent pondering/planning/undoing should be accounted for.
keep a diary and a timer/ clock near the project and log in and out when you are working on this.
if nothing else, this will give you a more accurate idea of how much time this project actually took.