Implemented iOS count and find