Fixed an issue with PHP 5.4, added method count to interface list