fix some bugs in Attributes class, SQL_Parser class, add functions to fetch the total count of attributes