Today new version of JSON UDF functions: 0.3.2 was released. This is development release which contains new functionality. You can download functions from the MySQL Labs website.
What is new?
New function `JSON_COUNT` added. This function returns number of children of the key path specified. If no key path specified, number of children of the root element is returned. Bug #70580/17584692 ADD FUNCTION `JSON_COUNT` TO COUNT SIZE OF JSON DOCUMENT
mysql> select json_count('{"MySQL Central": ["conference", 2014]}') as 'root count', > json_count('{"MySQL Central": ["conference", 2014]}', 'MySQL Central') as 'first element count'\G ************************ 1. row ************************ root count: 1 first element count: 2 1 row in set …[Read more]