Restore Ushahidi_Repository_Post getSearchTotal(). Refs T532

Uses COUNT(DISTINCT posts.id) instead of just COUNT
This got lost in commit 9683a99c9a6c6f097e075b5bf2588ecadd43ba05.