adding test to api_count
adding api_ref imclude statement