fix project get table count bug