1st, you are confusing Dcount and Dlookup.
Dlookup will return a value from a table, Dcount counts the # of records that match your criteria.
Dcount will work for what you want to do, but don't include the comparison to 0 inside the Dcount statement.
Complete the Dcount statement, then compare...