Database class's all methods works! v.1.1

Fixed Count() method bugs.