libyang REFACTOR rename sized array size to count

... because it reflects the fact that it may not
always (internally) be the size of the array.
diff --git a/src/tree_data_free.c b/src/tree_data_free.c
index d47e19c..e4da1b3 100644
--- a/src/tree_data_free.c
+++ b/src/tree_data_free.c
@@ -70,7 +70,7 @@
 ly_free_attr(const struct ly_ctx *ctx, struct ly_attr *attr, int recursive)
 {
     struct ly_attr *iter;
-    LY_ARRAY_SIZE_TYPE u;
+    LY_ARRAY_COUNT_TYPE u;
 
     LY_CHECK_ARG_RET(NULL, ctx, );
     if (!attr) {
@@ -120,7 +120,7 @@
 void
 ly_free_val_prefs(const struct ly_ctx *ctx, struct ly_prefix *val_prefs)
 {
-    LY_ARRAY_SIZE_TYPE u;
+    LY_ARRAY_COUNT_TYPE u;
 
     LY_ARRAY_FOR(val_prefs, u) {
         FREE_STRING(ctx, val_prefs[u].pref);