Move get_problems_count() to its only user - "abrt-cli status"

Logic is not changed.

Related to #659.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>
abrt-cli status: don't include reported problems into count

Closes #659

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>
Move get_problem_dirs_for_element_in_time() to its only user, abrt-dbus

Logic is not changed.

Related to #659.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>