var count =6;
var features = new Array(count);
var e = 4500000;
for (var i = 0; i < count; i++) {
var coordinates = ol.proj.transform([lat[i], lon[i]], 'EPSG:4326', 'EPSG:3857');
console.log(coordinates);
features[i] = new ol.Feature({
geometry: new ol.geom.Point(coordinates)
});
}