Why cant my timer count in only seconds?

I’ve been trying to create a timer that would count in seconds as the game is playing. However, when I got it to work, it would show the number as a float. I mean, it makes sense considering the fact that I did make my timer variable a float, but I would rather have it counting as an integer. However, Time.deltaTime only works for floats and the cast that I tried to use doesn’t seem to work.

Basically, my question is how do I get an integer from a float in the following code:

using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class Score : MonoBehaviour {

	public Text countText;
	public float timer;
	public int count;

	// Use this for initialization
	void Start () {
		SetCountText ();

	// Update is called once per frame
	void Update () {
		timer += Time.deltaTime;
		SetCountText ();
		count = count + timer as int;
	void SetCountText()
		countText.text = "Score: " + count.ToString ();


int myInt = (int)myFloat;