jamierumbelow/codeigniter-base-model — pull request #84 by carlos-mora (2012-12-09 15:37:48+00:00)
Title: count_by() and count_all() ignore the soft-delete status

Added the condition to adapt both method to be coherent with their counterparts get_many_by() and get_all().
I'm not sure if the count_all solution is the best, because it could be affected by previous where calls, but it is my best approach.