dag: support --count for compatibility

There's no sense in breaking existing setups.

Signed-off-by: David Aguilar <davvid@gmail.com>