Add ddate count extension method