rake task for counting incidnets