fixed total count, added schemas json