countdown directive, closes #5