If you want to count the number o items that code makes no sense at all. I would look at using a PivotTable.

Post the link to the other post as requested and don't ask for one to one help, this is a Public Forum if you bother to read the Rules you will see what I mean!