@Override
    public Count get(int id) throws DaoException {
        Count count = null;
        Connection connection = null;
        ResultSet rs = null;
        PreparedStatement ps = null;
        try {
            connection = dataSource.getConnection();
            ps = connection.prepareStatement(SELECT_COUNT);
            ps.setInt(1, id);
            rs = ps.executeQuery();
            if (rs.next()) {
                count = new Count();
                count.setValue(rs.getFloat("value"));
                count.setCountID(id);
            }
        } catch (SQLException e) {
            throw new DaoException("Cant get count", e);
        } finally {
            closeConection(connection, rs, ps);
        }
        return count;
    }