Count fixed and memberfunctions

A fix to avoid getting bad number or results using cound_all_results.
The regex for the function has been extended for member functions and
instead of function_exists the is_callable is used.
Merge pull request #40 from Jacq/master

Count fixed and member functions